<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="{<$js_url>}jquery.js"></script>
<script type="text/javascript" src="{<$js_url>}admin/admin.js"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>
<link href="{<$css_url>}admin/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="{<$image_url>}admin/mail_leftbg.gif"><img src="{<$image_url>}admin/left-top-right.gif" width="17" height="29" /></td>
    <td width="935" height="29" valign="top" background="{<$image_url>}admin/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">游戏管理</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="{<$image_url>}admin/mail_rightbg.gif"><img src="{<$image_url>}admin/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="{<$image_url>}admin/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="left_txt">当前位置：职业管理</td>
          </tr>
          <tr>
            <td height="20"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
              <tr>
                <td></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10%" height="55" valign="middle"><img src="{<$image_url>}admin/title.gif" width="54" height="55"></td>
                <td width="90%" valign="top"><span class="left_txt2">在这里，你还可以选择以下操作：<br />
                【 <a href="/admin_game/game_new/">添加游戏</a> &nbsp;| &nbsp;
                <a href="/admin_game/game_list/">游戏列表</a> &nbsp;| &nbsp;
                <a href="/admin_game/area_new/">添加区域</a> &nbsp;| &nbsp;
                <a href="/admin_game/area_list/">区域列表</a> &nbsp;| &nbsp;
                <a href="/admin_game/server_new/">添加服务器</a> &nbsp;| &nbsp;
                <a href="/admin_game/server_list/">服务器列表</a> &nbsp;| &nbsp;
                <a href="/admin_game/group_new/">添加阵营</a> &nbsp;| &nbsp;
                <a href="/admin_game/group_list/">阵营列表</a> &nbsp;| &nbsp;
                <a href="/admin_game/career_new/">添加职业</a> &nbsp;| &nbsp;
                <a href="/admin_game/career_list/">职业列表</a> 】
                </span></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>
            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
              <tr>
                <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;选择游戏：&nbsp;
                <select id="group_game_id" name="group_game_id">
                {<foreach from=$games item=game_name key=game_id>}
                    <option value="{<$game_id>}">{<$game_name>}</option>
                {</foreach>}
                </select>
                </td>
              </tr>
            </table>
            </td>
          </tr>
          <tr>
            <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="left_txt2">
              <tr>
                <td height="30" bgcolor="#f2f2f2">ID</td>
                <td bgcolor="#f2f2f2">职业名</td>
                <td bgcolor="#f2f2f2">英文缩写</td>
                <td bgcolor="#f2f2f2">所属游戏</td>
                <td bgcolor="#f2f2f2">操作</td>
              </tr>
			 {<foreach from=$groups item=group>}
              <tr>
                <td height="30" bgcolor="#f2f2f2">{<$group.group_id>}</td>
                <td bgcolor="#f2f2f2">{<$group.cn_name>}</td>
                <td bgcolor="#f2f2f2">{<$group.en_name>}</td>
                <td bgcolor="#f2f2f2">{<$games[$group.game_id]>}</td>
                <td bgcolor="#f2f2f2">
                <a href="/admin_game/group_edit/{<$group.group_id>}/">修改</a> | 
                <a href="/admin_game/group_del/{<$group.group_id>}/" onclick="return window.confirm('确定删除吗？请三思而后行哦！');">删除</a>
                </td>
              </tr>
             {</foreach>}
             {<if !$groups>}<tr><td colspan="3">暂无阵营</td></tr>{</if>}
             <tr><td colspan="3">{<$page_html>}</td></tr>
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table></td>
    <td background="{<$image_url>}admin/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="{<$image_url>}admin/mail_leftbg.gif"><img src="{<$image_url>}admin/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="{<$image_url>}admin/buttom_bgs.gif"><img src="{<$image_url>}admin/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="{<$image_url>}admin/mail_rightbg.gif"><img src="{<$image_url>}admin/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>